package com.example.simplemybatisspringboot.dao;

import com.example.simplemybatisspringboot.entity.Person;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface TestDao {
    public Person getInfoByName(String name);
    public List<Person> getInfos();
    public void addPerson(Person person);
}
